package org.bee.input;

/**
* @author 陈国松
* @date 2025-01-10 11:06:36
* @description 定时任务调度表 新增模型
* 表 batch_job
*/
public class BatchJobInsertVo {
    /**
    * 任务名称
    */
    private String name;
    /**
    * 任务分组
    */
    private String jobGroup;
    /**
    * 任务bean
    */
    private String bean;
    /**
    * 执行表达式
    */
    private String cron;
    /**
    * 任务执行失败的策略
    */
    private String errorStrategy;
    /**
    * 状态（1正常 0暂停）
    */
    private Boolean status;
    /**
    * 是否并发执行（1允许 0禁止）
    */
    private Boolean concurrent;
    /**
    * 备注
    */
    private String remark;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
    public String getJobGroup() {
        return jobGroup;
    }
    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup == null ? null : jobGroup.trim();
    }
    public String getBean() {
        return bean;
    }
    public void setBean(String bean) {
        this.bean = bean == null ? null : bean.trim();
    }
    public String getCron() {
        return cron;
    }
    public void setCron(String cron) {
        this.cron = cron == null ? null : cron.trim();
    }
    public String getErrorStrategy() {
        return errorStrategy;
    }
    public void setErrorStrategy(String errorStrategy) {
        this.errorStrategy = errorStrategy == null ? null : errorStrategy.trim();
    }
    public Boolean getStatus() {
        return status;
    }
    public void setStatus(Boolean status) {
        this.status = status;
    }
    public Boolean getConcurrent() {
        return concurrent;
    }
    public void setConcurrent(Boolean concurrent) {
        this.concurrent = concurrent;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}